export default {
  state: {
    phone: uni.getStorageSync('phone') || '', // 手机号
  },
  mutations: {
     // 获取用户手机号
    getTel(state, data) { 
      state.phone = data 
    },
		  // 获取用户信息
		saveUserInfo(state, data) {
		  state.userInfo = data
		}
  }
}